# +----------------------------------------------------------------------
# | Pink [ A modern python web framework ]
# +----------------------------------------------------------------------
# | Copyright (c) 2023 http:#unnnnn.com All rights reserved.
# +----------------------------------------------------------------------
# | Author: chenjianhua <unnnnn@foxmail.com>
# +----------------------------------------------------------------------

class Constraint:
    def __init__(self, name, constraint_type, columns=None):
        self.name = name
        self.constraint_type = constraint_type
        self.columns = columns or []
